﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;
using System.IO;

namespace Philadapt
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void butExit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            this.listBox1.Items.Insert(1, "hola vete a tu casa");
        }
        public void InsertLine(String e)
        {
            this.listBox1.Items.Insert(1, e);
        }

        private void butClear_Click(object sender, EventArgs e)
        {
            this.listBox1.Items.Clear();
        }


    }
}